package com.gmrz.uaf.servlet.v1.request;


import com.gmrz.uaf.protocol.v1.schema.DeviceDetails;
import com.google.gson.annotations.Expose;

public class RegContext implements RequestContext {

    @Expose
    private String transNo;
    @Expose
    private String userName;
    @Expose
    private String rf1;
    @Expose
    private String rf2;
    @Expose
    private String appID;
    @Expose
    private String deviceID;
    @Expose
    private String transType;
    @Expose
    private String authType;
    @Expose
    private String opType;
    @Expose
    private DeviceDetails devices;
    @Expose
    private String challenge;
    @Expose
    private String dn;
    @Expose
    private String protocol;
    @Expose
    private String authenticatorAttachment;
    @Expose
    private boolean isBase64 = false;

    public RegContext() {
    }

    public String getUsername() {
        return this.userName;
    }

    public void setUsername(String username) {
        this.userName = username;
    }

    public String getTransNo() {
        return transNo;
    }

    public void setTransNo(String transNo) {
        this.transNo = transNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAppID() {
        return appID;
    }

    public void setAppID(String appID) {
        this.appID = appID;
    }

    public String getTransType() {
        return transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getOpType() {
        return opType;
    }

    public void setOpType(String opType) {
        this.opType = opType;
    }

    public String getRf1() {
        return rf1;
    }

    public void setRf1(String rf1) {
        this.rf1 = rf1;
    }

    public String getRf2() {
        return rf2;
    }

    public void setRf2(String rf2) {
        this.rf2 = rf2;
    }

    public DeviceDetails getDevices() {
        return devices;
    }

    public void setDevices(DeviceDetails devices) {
        this.devices = devices;
    }

    public String getChallenge() {
        return challenge;
    }

    public void setChallenge(String challenge) {
        this.challenge = challenge;
    }

    public String getDn() {
        return dn;
    }

    public void setDn(String dn) {
        this.dn = dn;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getAuthenticatorAttachment() {
        return authenticatorAttachment;
    }

    public void setAuthenticatorAttachment(String authenticatorAttachment) {
        this.authenticatorAttachment = authenticatorAttachment;
    }

    public boolean isBase64() {
        return isBase64;
    }

    public void setBase64(boolean base64) {
        isBase64 = base64;
    }
}
